package cn.tedu.fresheveryday.service.impl;

import cn.tedu.fresheveryday.mapper.BannerMapper;
import cn.tedu.fresheveryday.pojo.entity.Banner;
import cn.tedu.fresheveryday.service.IBannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerServiceImpl implements IBannerService {
    @Autowired
    private BannerMapper mapper;

    @Override
    public List<Banner> selectAll() {
        return mapper.selectAll();
    }

}